package com.tarena.lbs.business.servcie;

import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.business.pojo.param.StoreParam;
import com.tarena.lbs.business.pojo.query.AreaStoreQuery;
import com.tarena.lbs.business.pojo.query.StoreQuery;
import com.tarena.lbs.business.pojo.vo.StoreVO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface StoreService {
    PageResult<StoreVO> pageList(StoreQuery query);
    void addStore(StoreParam param);
    List<StoreVO> selectStoreByCity(AreaStoreQuery query);
    StoreVO getStoreById(Integer id);
    void deleteStore(Integer id);
    void updateStatus(Integer id, Integer status);
}
